package com.example.supplychainbackend.dao.warehouse;

import com.example.supplychainbackend.entity.EnterpriseEntity;
import com.example.supplychainbackend.entity.warehouse.InboundBillEntity;
import org.springframework.data.jpa.repository.JpaRepository;

public interface InboundBillDao extends JpaRepository<InboundBillEntity, Long> {
    InboundBillEntity findByBatch(String batch);
    InboundBillEntity findByBatchAndEnterpriseId(String batch, String enterpriseId);
    InboundBillEntity findByStockId(String stockId);
}